﻿using System.Windows.Forms;
using DevExpress.XtraBars.Ribbon;
using DevExpress.XtraBars;
using DevExpress.XtraBars.Docking;

namespace oqis.gis.frame
{
    /// <summary>
    /// 接口--应用程序
    /// </summary>
    public interface IQGApplication
    {
        /// <summary>
        /// 可用性
        /// </summary>
        bool Enable { get; set; }

        /// <summary>
        /// 应用程序主窗体
        /// </summary>
        Form MainForm { get; set; }

        /// <summary>
        /// 地图控件
        /// </summary>
        oqis.gis.frame.controls.QGUCMapControl MapControl { get; set; }

        /// <summary>
        /// TOC控件
        /// </summary>
        oqis.gis.frame.controls.QGUCTOC TOCControl { get; set; }

        /// <summary>
        /// Ribbon控件
        /// </summary>
        RibbonControl RibbonControl { get; set; }

        /// <summary>
        /// Bar管理控件
        /// </summary>
        BarManager BarManagerControl { get; set; }

        /// <summary>
        /// Dock管理器
        /// </summary>
        DockManager DockManager { get; set; }

        /// <summary>
        /// 注册信息
        /// </summary>
        IRegisterInfo RegisterInfo { get; set; }
    }
}
